package org.eden.heartbeat.api.model;

import java.util.Date;

/**
 * Entity the holds the information about a status request for a remote machine.
 *
 * @author trsimoes
 * @version $Revision:$
 */
public class Request {

    public long id;

    public String host;

    public int port;

    public Date date;

    public boolean result;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }
}